﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lk.Model.Dto.Shopping
{
    public class SCousesDetailDto : ShopingBase
    {
        public SCousesDetailDataDto data=new SCousesDetailDataDto();
    }

    public class SCousesDetailDataDto
    {
        public Goods goods { get; set; }
    }
    public class ServiceItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 自营仓保税发货
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 本商品为商家自营保税发货
        /// </summary>
        public string detail { get; set; }
    }

    public class NormListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int member_miniapp_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string add_ip { get; set; }
        /// <summary>
        /// 
        /// </summary>
      //  public DateTime add_time { get; set; }

        public DateTime create_time { get; set; }
        //{
        //    get { return add_time!= add_time DateTimeHelper.FromTimestamp(add_time); }
        //}

        /// <summary>
        /// 
        /// </summary>
        public int goods_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string normterm_ids { get; set; }
        /// <summary>
        /// 32G-银色
        /// </summary>
        public string normterm_value { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Decimal price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string scan { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sku { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int num { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
    }

    public class Goods
    {
        /// <summary>
        /// 
        /// </summary>
        public int goods_id { get; set; }
        /// <summary>
        /// 网易严选 传世珐琅锅 铸铁搪瓷炖锅煲汤锅 新品豆咖棕/有盖/直火电磁炉通用
        /// </summary>
        public string goods_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string photo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Decimal price { get; set; }

        public string photo_heng { get; set; }

        public string tuji { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Decimal shop_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal mail_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int is_mail { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int give_integral { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int user_integral { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int like_num { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sales_volume { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int surplus_num { get; set; }
        /// <summary>
        /// 更有好货低至5折！11月10日0点开抢
        /// </summary>
        public string brief { get; set; }
        /// <summary>
        /// 网易严选品牌专场，跨万店3件7折/2件8折，
        /// </summary>
        public string spec { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ctn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ServiceItem> service { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> sku { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ContentsItem> contents { get; set; }
        public List<ShopContents> shop_contents { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<NormListItem> normList { get; set; }

        public long online_time { get; set; }

        public long category_id { get; set; }

        public string category_name { get; set; }
    }
    public class ContentsItem
    {
        public string content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string photo { get; set; }
    }

    public class ShopContents
    {
        public string content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string photo { get; set; }
    }

}
